home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-08-08 | 899 b | 37 lines | [TEXT/MPS ] |
- % Written by Clarus T. DogCow
- % Copyright: © 1991 by Apple Computer, Inc., all rights reserved.
- %
- % Sample PS File is a sample PostScript file to be used to demonstrate the -ps option of the MPW
- % print command.
-
- % Begin by saving any state MPW might have setup.
- gsave
-
- % Now restore the original PostScript coordinate
- % system with 0,0 being at the lower-left corner.
- 0 728 translate
- 1 -1 scale
-
- % Here is the font we're going to use.
- /t/Times-BoldItalic findfont 96 scalefont def
-
- % Position the text block on the page.
- 150 500 translate
-
- % Set the color of the text to a light gray.
- .8 setgray
-
- % Move the pen for the first line of text,
- % then draw the text.
- 0 -80 moveto
- t setfont (Review) show
-
- % Move the pen for the second line of text,
- % then draw the text.
- 20 -200 moveto
- t setfont (Draft) show
-
- % Restore the state we saved earlier so MPW doesn't
- % know that we've been here...
- grestore
-